projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b5105
)
fix close button in testtitlebar as well
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 Jul 2013 01:53:15 +0000
(21:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 Jul 2013 03:11:19 +0000
(23:11 -0400)
Same disease as with the previous fix.
tests/testtitlebar.c
patch
|
blob
|
history
diff --git
a/tests/testtitlebar.c
b/tests/testtitlebar.c
index b828a516e903d54fb394ae2e38824e6129c1b644..e20c3940ddbde906dcec61e9e8917ebe08f3c650 100644
(file)
--- a/
tests/testtitlebar.c
+++ b/
tests/testtitlebar.c
@@
-40,7
+40,7
@@
main (int argc, char *argv[])
g_object_unref (icon);
gtk_container_add (GTK_CONTAINER (button), image);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
- g_signal_connect
(button, "clicked", G_CALLBACK (gtk_window_close), NULL
);
+ g_signal_connect
_swapped (button, "clicked", G_CALLBACK (gtk_window_close), window
);
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);